home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re Multiple Frame Question < prev    next >
Encoding:
Internet Message Format  |  1996-08-22  |  2.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Multiple Frame Question
  2. Sent:        8/22/96 9:58 AM
  3. Received:    8/22/96 10:01 AM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >Dear ODF Team,
  9. >
  10. >My part requires that my content be presented as iconic AND as frame.
  11. >More specifically, I have a list of embedded part presented as a list
  12. >of icons (single selection) and another section of the editor showing
  13. >the selection in this list as a frame (kind of like the panel editor
  14. >part).
  15. >
  16. >Since each presentation is setup to present embedded parts by calling
  17. >SetDefaultEmbeddedFrameViewType(), a given frame can only present
  18. >embedded parts in only one form. 
  19. >
  20. Not really. The DefaultEmbeddedFrameViewType is used for different 
  21. dialogs like the Paste As dialog. You are creating your embedded frames 
  22. by calling Embed(..). You can pass whatever view type you want. The only 
  23. time ODF creates embedded frames for you is for example when your frame 
  24. is opened in its own window. At this time ODF creates all the necessary 
  25. new embedded frames in the secondary window but uses the viewtype of the 
  26. original embedded frame.
  27.  
  28. >Does the method RequestSiblingFrame() have any importance in this
  29. >context and how would it be used?
  30. >
  31. RequestSiblingFrame is for an embedded frame requesting its container for 
  32. another display frame. A container cannot call that to get another frame 
  33. for an embedded frame. If you want another frame for an embedded frame 
  34. simply call Embed().
  35.  
  36. >How should I go about implementing this. I thought of having two
  37. >frames simultaneously.  In the documentation it is mentionned vaguely
  38. >and more importance is attached to subviews.
  39. >
  40. >Am I in the right direction? 
  41. >
  42. >Thanks.
  43. >
  44. >Paul Mylchreest
  45. >
  46. >
  47.  
  48.  
  49. ........................................................................
  50.  Henri Lamiraux                                      lamiraux@apple.com
  51.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  52. ........................................................................
  53.  
  54.  
  55.